import { ApiCall } from "tsrpc";
import { ReqLook, ResLook } from "../../../../shared/master/copy/cloister/PtlLook";
import { player } from "../../../../model/fight/body/player";
import { Tpl_copy_default, template } from "../../../../shared/master/MsgAction";

export default async function (call: ApiCall<ReqLook, ResLook>) {
    call.succ({})
    let user = call.req._player as player;

    let upList: string[] = [];
    upList.push(`⚔️无尽的装备`)
    upList.push(`📘无尽的技能书`)
    let tpl: Tpl_copy_default = {
        title: "无尽回廊",
        desc: `进入无尽回廊你将挑战越来越强的敌人,每层都会获得丰厚的奖励\n💡此为无限制多人副本,副本开启前其他人也可加入共同战斗`,
        gift_title: "奖励一览",
        gift_list: upList,
        enter_str: "进入无尽回廊"
    }
    user.sendMsg(template.通用副本, tpl)
}